
package com.verify.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.verify.data.excel.ExcelTable2;
import com.verify.data.excel.ExcelTable3;

import java.util.List;

public class ExcelListenerTable3 implements ReadListener<ExcelTable3> {
    private List<ExcelTable3> table;

    public ExcelListenerTable3(List<ExcelTable3> table) {
        this.table = table;
    }

    @Override
    public void invoke(ExcelTable3 data, AnalysisContext context) {
        table.add(data);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext context) {

    }
}
